/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.foment.data;

import java.io.Serializable;

/**
 *
 * this class is intended for use by SqlListBox and SqlComboBox classes for
 * sending its query and uniqueID to the server
 *
 *
 * @author Jaksa
 */
public class SqlComponentMessage implements Serializable {

    public SqlComponentMessage() {

       _query       = "";
       _componentID = -1;
    }

    public SqlComponentMessage(String v, int i) {

       _query       = v;
       _componentID = i;
    }

    public int getComponentID() {
        return _componentID;
    }

    public void setComponentID(int v) {
        _componentID = v;
    }

    public String getQuery() {
        return _query;
    }

    public void setQuery(String v) {
        _query = v;
    }

    private String _query;
    private int _componentID;
}
